package com.jingyanzi.privilege.service;

import com.jingyanzi.privilege.domain.RoleDO;
import com.jingyanzi.privilege.domain.RoleMenuFromDO;
import com.jingyanzi.privilege.domain.result.ResultDO;
import com.jingyanzi.privilege.query.RoleQueryDO;

public interface IRoleService {
	
	public ResultDO add(RoleDO roleDO);
	
	public ResultDO checkRepeat(RoleDO domain);
	
	public ResultDO remove(Integer id);
	
	public ResultDO modifi(RoleDO roleDO);
	
	public ResultDO get(Integer id);
	
	public ResultDO list(RoleQueryDO query);
	
	public ResultDO query(RoleQueryDO query);
	
	public ResultDO setRoleToMenuAndBtn(RoleMenuFromDO roleMenuFromDO);
	
	public ResultDO cloneRole(RoleDO roleDO);
}
